package com.note.model;

//@Deprecated
public class Man extends User{
    private String sex;
    public String grade;

    public Man() {
    }

    public Man(String sex, String grade) {
        this.sex = sex;
        this.grade = grade;
    }

    public String getGrade() {
        System.out.println("this getGrade");
        return grade;
    }

    public void setGrade(String grade) {
        System.out.println("this setGrade");
        this.grade = grade;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public void fun(String str, Integer i){
        System.out.println("this fun: str=" + str + ", i=" + i);
    }
}
